package com.woniuxy.third.service.impl;


import com.woniuxy.third.entity.Role;
import com.woniuxy.third.mapper.RoleMapper;
import com.woniuxy.third.service.RoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RolesServiceImpl implements RoleService {
    @Resource
    private RoleMapper roleMapper;
    @Override
    public List<Role> findRolesByUid(int uid) {
        return roleMapper.findRolesByUid(uid);
    }
}

















